package com.hinotoyk.testsystem.entity;

public class Student {
    private Integer studentId;

    private String studentName;

    private String studentPw;

    public Student() {
    }

    public Student(String studentName, String studentPw) {
        this.studentName = studentName;
        this.studentPw = studentPw;
    }

    @Override
    public String toString() {
        return "Student{" +
                "studentId=" + studentId +
                ", studentName='" + studentName + '\'' +
                ", studentPw='" + studentPw + '\'' +
                '}';
    }

    public Integer getStudentId() {
        return studentId;
    }

    public void setStudentId(Integer studentId) {
        this.studentId = studentId;
    }

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName == null ? null : studentName.trim();
    }

    public String getStudentPw() {
        return studentPw;
    }

    public void setStudentPw(String studentPw) {
        this.studentPw = studentPw == null ? null : studentPw.trim();
    }
}